<?php
require_once dirname(__FILE__).'./../ini.php';
require ROOTDIR."/common/database.php";
require ROOTDIR."/common/sqlFunctions.php";
require ROOTDIR."/common/generalFunctions.php";
require ROOTDIR."/classes/Residence.php";
require ROOTDIR."/classes/Message.php";
require ROOTDIR."/classes/Ville.php";
require ROOTDIR."/classes/Groupe.php";

connect_db();
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ma citee</title>
<style type="text/css">
<!--
#barHorizontal{margin:0;list-style-type:none;display:block;font:bold 16px Helvetica, Verdana, Arial, sans-serif;line-height:165%;width:100%;text-decoration:none;color:#fff;background:#600;padding:0 0 0 20px;float:left;}
#barHorizontal a{margin:10px;}
#content {}
ul.vert-one{margin:0;padding:0;list-style-type:none;display:block;font:bold 16px Helvetica, Verdana, Arial, sans-serif;line-height:165%;width:200px;}
ul.vert-one li{margin:0;padding:0;border-top:1px solid #4D0000;border-bottom:1px solid #761A1A;}
ul.vert-one li a{display:block;text-decoration:none;color:#fff;background:#600;padding:0 0 0 20px;width:180px;}
ul.vert-one li a:hover{background:#900 url("<?php echo ROOTURL."/common/";?>images/vert-one_arrow.gif") no-repeat 0 9px;}
ul.vert-one li a.current,ul.vert-one li a.current:hover{background:#933 url("<?php echo ROOTURL."/common/";?>images/vert-one_arrow.gif") no-repeat 0 9px;}
-->
</style>

<!-- Jquery call -->
   
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
	});
</script>

</head>

<body>
<div id="barHorizontal">
<a href="<?php echo ROOTURL."/common/index.php";?>" >Accueil  |</a>
<a href="<?php echo ROOTURL."/residences/index.php";?>" >Residences |</a>
<a href="<?php echo ROOTURL."/membres/index.php";?>" >Espace Membres |</a>
<?php if(isset($_SESSION['isLogin']) && $_SESSION['isLogin']==true){?>
<a href="<?php echo ROOTURL."/common/login/logout.php";?>" >se deconnecter | </a>
<?php }
else {?>
<a href="<?php echo ROOTURL."/common/login/loginPage.php";?>" >se connecter | </a>
<?php }?>
<a href="#" >Nous contacter </a>

</div>